package org.wuliu.pojo;

public class Qvpaidan {
    private Integer id;
    private String bianhao;
    private String xiangxi;
    private Integer qvpaiId;
    private String jingdu;
    private String weidu;
    private Fenqv fenqv;
    private Qvpai qvpai;
    private Quyv quyv;

    public Quyv getQuyv() {
        return quyv;
    }

    public void setQuyv(Quyv quyv) {
        this.quyv = quyv;
    }

    public Fenqv getFenqv() {
        return fenqv;
    }

    public void setFenqv(Fenqv fenqv) {
        this.fenqv = fenqv;
    }

    public Qvpai getQvpai() {
        return qvpai;
    }

    public void setQvpai(Qvpai qvpai) {
        this.qvpai = qvpai;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public String getXiangxi() {
        return xiangxi;
    }

    public void setXiangxi(String xiangxi) {
        this.xiangxi = xiangxi;
    }

    public Integer getQvpaiId() {
        return qvpaiId;
    }

    public void setQvpaiId(Integer qvpaiId) {
        this.qvpaiId = qvpaiId;
    }

    public String getJingdu() {
        return jingdu;
    }

    public void setJingdu(String jingdu) {
        this.jingdu = jingdu;
    }

    public String getWeidu() {
        return weidu;
    }

    public void setWeidu(String weidu) {
        this.weidu = weidu;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Qvpaidan qvpaidan = (Qvpaidan) o;

        if (id != null ? !id.equals(qvpaidan.id) : qvpaidan.id != null) return false;
        if (bianhao != null ? !bianhao.equals(qvpaidan.bianhao) : qvpaidan.bianhao != null) return false;
        if (xiangxi != null ? !xiangxi.equals(qvpaidan.xiangxi) : qvpaidan.xiangxi != null) return false;
        if (qvpaiId != null ? !qvpaiId.equals(qvpaidan.qvpaiId) : qvpaidan.qvpaiId != null) return false;
        if (jingdu != null ? !jingdu.equals(qvpaidan.jingdu) : qvpaidan.jingdu != null) return false;
        if (weidu != null ? !weidu.equals(qvpaidan.weidu) : qvpaidan.weidu != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (bianhao != null ? bianhao.hashCode() : 0);
        result = 31 * result + (xiangxi != null ? xiangxi.hashCode() : 0);
        result = 31 * result + (qvpaiId != null ? qvpaiId.hashCode() : 0);
        result = 31 * result + (jingdu != null ? jingdu.hashCode() : 0);
        result = 31 * result + (weidu != null ? weidu.hashCode() : 0);
        return result;
    }
}
